package com.xue566.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xue566.entity.SchoolEntity;
import com.xue566.util.ResultBody;

/**
 * @Author: Wuzh
 * @Description:
 * @Date Created in 21:58 2020/8/16
 * @return
 */
public interface ISchoolService extends IService<SchoolEntity> {


    /**
     * @Author: Wuzh
     * @Description: 查询学校列表信息
     * @Data:
     */
    ResultBody<SchoolEntity> selectAllSchool (SchoolEntity schoolEntity);

    /**
     * @Author: Wuzh
     * @Description: 保存学校信息
     * @Data:
     */
    ResultBody<SchoolEntity> saveSchool (SchoolEntity schoolEntity);


    /**
     * @Author: Wuzh
     * @Description: 查询一条记录
     * @Data:
     */
    ResultBody<SchoolEntity> selectSchool (SchoolEntity schoolEntity);


    /**
     * @Author: Wuzh
     * @Description: 修改学校记录
     * @Data:
     */
    ResultBody<SchoolEntity> updateSchool (SchoolEntity schoolEntity);


    /**
     * @Author: Wuzh
     * @Description: 删除学校记录
     * @Data:
     */
    ResultBody<SchoolEntity> deleteSchool (SchoolEntity schoolEntity);
}
